package com.kang.service;

import org.springframework.web.multipart.MultipartFile;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;
import java.util.List;

public interface FileApiService {

    String fileUpload(MultipartFile file) throws IOException;

    String fileUploadLocal(MultipartFile file);

    String videoFileUpload(MultipartFile file) throws IOException;

    String fileDownload(HttpServletRequest request, HttpServletResponse response,String fileName);

    String uploadOss(MultipartFile file) throws IOException;

    List<String> fileUploadListLocal(MultipartFile[] files) throws IOException;
}
